d7aebcbd3f91ca32c48766a333f8e84b57d58dd0,clc/modules/object-storage/src/main/java/com/eucalyptus/objectstorage/ObjectStorageGateway.java,ObjectStorageGateway,getBucketLifecycle,#GetBucketLifecycleType#,1891

Before Change


    Bucket bucket = getBucketAndCheckAuthorization(request);

    // Get the lifecycle from the back-end and copy results in.
    GetBucketLifecycleResponseType reply = (GetBucketLifecycleResponseType) request.getReply();
    try {
      LifecycleConfiguration lifecycle = new LifecycleConfiguration();
      List<LifecycleRule> responseRules = BucketLifecycleManagers.getInstance().getLifecycleRules(bucket.getBucketUuid());

After Change


    Bucket bucket = getBucketAndCheckAuthorization(request);

    // Get the lifecycle from the back-end and copy results in.
    GetBucketLifecycleResponseType reply = request.getReply();
    try {
      LifecycleConfiguration lifecycle = new LifecycleConfiguration();
      List<LifecycleRule> responseRules = BucketLifecycleManagers.getInstance().getLifecycleRules(bucket.getBucketUuid());